<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
        <script src="../js/vue.js"></script>
	</head>
	<body>
		<div id="root">
            <h1>插值语法</h1>
            <h2>你好，{{name}}</h2>
            <hr/>
            <h1>指令语法</h1>
            <a :href="school.url">{{school.name}}</a>
        </div>
		
	</body>
    <script type="text/javascript">
        Vue.config.productionTip = false
        new Vue({
			el:'#root',
			data:{
				name:'jack',
				school:{
					name:'百度一下',
					url:'http://www.baidu.com'
				}
			}
		})
    </script>
</html>
